package com.example.blog.entity;

import java.util.Date;

public class Reply {
    private Integer userId;
    private Integer commentId;
    private String content;
    private Date createTime;
    private Boolean isDisabled;
    private Boolean isDeletedByUser;
    
    // 关联属性
    private User user;
    private Comment comment;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getIsDisabled() {
        return isDisabled;
    }

    public void setIsDisabled(Boolean disabled) {
        isDisabled = disabled;
    }

    public Boolean getIsDeletedByUser() {
        return isDeletedByUser;
    }

    public void setIsDeletedByUser(Boolean deletedByUser) {
        isDeletedByUser = deletedByUser;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }
} 